.Login {
    .container {
        height: 100vh;
        background-image: url('/assets/images/loginBg.avif');
        background-size: cover;
        background-position: 50% 75%;
        background-repeat: no-repeat;

        .logo-back {
            cursor: default;
            position: absolute;
            top: 20px;
            left: 20px;
            display: inline-flex;
            align-items: center;

            &>img {
                margin-right: 5px;
            }

            &>p {
                font-family: STXingkai;
                font-size: 18px;
                color: #fff;
            }
        }
    }

    .modal {
        position: fixed;
        left: 0;
        bottom: 0;
        height: 80px;
        width: 100%;
        background: rgba(#333, 0.5);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;

        &-container {
            display: flex;
            max-width: 1000px;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            position: absolute;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s;
            background: #fff;
            transform: translateY(100px) scale(0.4);
        }

        &-title {
            font-size: 26px;
            margin: 0;
            font-weight: 400;
            color: #55311c;
        }

        &-desc {
            margin: 15px 0;
        }

        &-left {
            padding: 0 30px;
            background: #fff;
            flex: 1.5;
            transition-duration: 0.5s;
            transform: translateY(80px);
            opacity: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        &-button {
            color: darken(#8c7569, 5%);
            font-family: "Nunito", sans-serif;
            font-size: 18px;
            cursor: pointer;
            border: 0;
            outline: 0;
            padding: 10px 40px;
            border-radius: 30px;
            background: rgb(255, 255, 255);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
            transition: 0.3s;

            &:hover {
                border-color: rgba(255, 255, 255, 0.2);
                background: rgba(#fff, 0.8);
            }
        }

        &-right {
            flex: 2;
            font-size: 0;
            transition: 0.3s;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                transform: scale(2);
                object-fit: cover;
                transition-duration: 1.2s;
            }
        }

        &.is-open {
            height: 100%;
            background: rgba(#333, 0.85);

            .modal-container {
                opacity: 1;
                transition-duration: 0.6s;
                pointer-events: auto;
                transform: translateY(0) scale(1);
            }

            .modal-right img {
                transform: scale(1);
            }

            .modal-left {
                transform: translateY(0);
                opacity: 1;
                transition-delay: 0.1s;

                .logo {
                    display: flex;
                    align-items: center;

                    &>img {
                        margin-right: 5px;
                    }

                    &>p {
                        font-family: STXingkai;
                        font-size: 18px;
                    }
                }
            }
        }

        &-buttons {
            display: flex;
            justify-content: space-between;
            align-items: center;

            &>p {
                color: rgba(#333, 0.6);
                font-size: 14px;
            }
        }

        .input-button {
            padding: 8px 20px;
            outline: none;
            border: 0;
            color: #fff;
            border-radius: 4px;
            background: #8c7569;
            font-family: "Nunito", sans-serif;
            transition: 0.3s;
            cursor: pointer;

            &:hover {
                background: #55311c;
            }
        }

        .input-label {
            font-size: 14px;
            font-weight: 800;
            font-family: STZhongsong;
            letter-spacing: 0.7px;
            color: #8c7569;
            transition: 0.3s;
        }

        .input-body {
            position: relative;

            .input-block {
                display: flex;
                flex-direction: column;
                padding: 10px 10px 8px;
                border: 1px solid #ddd;
                border-radius: 4px;
                margin-bottom: 20px;
                transition: 0.3s;

                input {
                    outline: 0;
                    border: 0;
                    padding: 4px 0 0;
                    font-size: 14px;
                    font-family: "Nunito", sans-serif;

                    &::placeholder {
                        color: #ccc;
                        opacity: 1;
                    }
                }

                .ant-input:focus {
                    border: none;
                    box-shadow: none;
                }

                &:focus-within {
                    border-color: #8c7569;

                    .input-label {
                        color: rgba(#8c7569, 0.8);
                    }
                }
            }

            .tips {
                position: absolute;
                bottom: -15px;
                color: red;
                font-size: 12px;
                margin-left: 5px;
            }
        }

        .slider {
            &>.slider-getcode {
                direction: rtl;
                font-size: 14px;
            }

            .ant-slider-horizontal {
                height: 0;
            }

            .ant-slider {
                margin: 0 5px 20px;
            }

            .ant-slider-rail {
                border-radius: 20px;
            }

            .ant-slider-track {
                border-radius: 20px;
            }
        }

        .icon-button {
            outline: 0;
            position: absolute;
            right: 10px;
            top: 12px;
            width: 32px;
            height: 32px;
            border: 0;
            background: 0;
            padding: 0;
            cursor: pointer;
        }
    }
    .header {
        margin-bottom: 20px;
    }

    @media(max-width: 800px) {
        .modal-container {
            width: 90%;
            padding: 20px;
        }

        .modal-right {
            display: none;
        }
    }
}